package wang.chunfan.springcloud.learning.stream.rabbitmq;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.stream.annotation.EnableBinding;
import wang.chunfan.springcloud.learning.stream.rabbitmq.processor.RabbitProcessor;

@SpringBootApplication
@EnableBinding(RabbitProcessor.class)
public class StreamRabbitmqApplication {

    public static void main(String[] args) {
        SpringApplication.run(StreamRabbitmqApplication.class, args);
    }

}
